package homework5.exp3;


import homework5.exp2.Calculate;
import junit.framework.Assert;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * @author fengq
 */
public class CalculateTest {
    private Calculate cal;


    @Before
    public void setUp() throws Exception {
        cal = new Calculate();
    }

    @After
    public void tearDown() throws Exception {

    }

    @Test
    public void TestAdd(){
        Assert.assertEquals(cal.add(1,2),3);
    }
}
